package com.jxc.jxc01.grc.entity;

import java.util.Date;
import java.util.Objects;

public class Manifest {
    private int id;
    private int numbering;
    private String warehouse;
    private String commodity;
    private String quantity;
    private String specification;
    private double price;
    private double total;
    private String depositor;
    private String whethe;
    private String quality;
    private String Inbound_time;
    private String creation_time;
    private String remark;


    public Manifest() {
    }

    public Manifest(int id, int numbering, String warehouse, String commodity, String quantity, String specification, double price, double total, String depositor, String whethe, String quality, String Inbound_time, String creation_time, String remark) {
        this.id = id;
        this.numbering = numbering;
        this.warehouse = warehouse;
        this.commodity = commodity;
        this.quantity = quantity;
        this.specification = specification;
        this.price = price;
        this.total = total;
        this.depositor = depositor;
        this.whethe = whethe;
        this.quality = quality;
        this.Inbound_time = Inbound_time;
        this.creation_time = creation_time;
        this.remark = remark;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return numbering
     */
    public int getNumbering() {
        return numbering;
    }

    /**
     * 设置
     * @param numbering
     */
    public void setNumbering(int numbering) {
        this.numbering = numbering;
    }

    /**
     * 获取
     * @return warehouse
     */
    public String getWarehouse() {
        return warehouse;
    }

    /**
     * 设置
     * @param warehouse
     */
    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    /**
     * 获取
     * @return commodity
     */
    public String getCommodity() {
        return commodity;
    }

    /**
     * 设置
     * @param commodity
     */
    public void setCommodity(String commodity) {
        this.commodity = commodity;
    }

    /**
     * 获取
     * @return quantity
     */
    public String getQuantity() {
        return quantity;
    }

    /**
     * 设置
     * @param quantity
     */
    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    /**
     * 获取
     * @return specification
     */
    public String getSpecification() {
        return specification;
    }

    /**
     * 设置
     * @param specification
     */
    public void setSpecification(String specification) {
        this.specification = specification;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return total
     */
    public double getTotal() {
        return total;
    }

    /**
     * 设置
     * @param total
     */
    public void setTotal(double total) {
        this.total = total;
    }

    /**
     * 获取
     * @return depositor
     */
    public String getDepositor() {
        return depositor;
    }

    /**
     * 设置
     * @param depositor
     */
    public void setDepositor(String depositor) {
        this.depositor = depositor;
    }

    /**
     * 获取
     * @return whethe
     */
    public String getWhethe() {
        return whethe;
    }

    /**
     * 设置
     * @param whethe
     */
    public void setWhethe(String whethe) {
        this.whethe = whethe;
    }

    /**
     * 获取
     * @return quality
     */
    public String getQuality() {
        return quality;
    }

    /**
     * 设置
     * @param quality
     */
    public void setQuality(String quality) {
        this.quality = quality;
    }

    /**
     * 获取
     * @return Inbound_time
     */
    public String getInbound_time() {
        return Inbound_time;
    }

    /**
     * 设置
     * @param Inbound_time
     */
    public void setInbound_time(String Inbound_time) {
        this.Inbound_time = Inbound_time;
    }

    /**
     * 获取
     * @return creation_time
     */
    public String getCreation_time() {
        return creation_time;
    }

    /**
     * 设置
     * @param creation_time
     */
    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String toString() {
        return "Manifest{id = " + id + ", numbering = " + numbering + ", warehouse = " + warehouse + ", commodity = " + commodity + ", quantity = " + quantity + ", specification = " + specification + ", price = " + price + ", total = " + total + ", depositor = " + depositor + ", whethe = " + whethe + ", quality = " + quality + ", Inbound_time = " + Inbound_time + ", creation_time = " + creation_time + ", remark = " + remark + "}";
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Manifest manifest = (Manifest) o;
        return id == manifest.id && numbering == manifest.numbering && Double.compare(manifest.price, price) == 0 && Double.compare(manifest.total, total) == 0 && Objects.equals(warehouse, manifest.warehouse) && Objects.equals(commodity, manifest.commodity) && Objects.equals(quantity, manifest.quantity) && Objects.equals(specification, manifest.specification) && Objects.equals(depositor, manifest.depositor) && Objects.equals(whethe, manifest.whethe) && Objects.equals(quality, manifest.quality) && Objects.equals(Inbound_time, manifest.Inbound_time) && Objects.equals(creation_time, manifest.creation_time) && Objects.equals(remark, manifest.remark);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, numbering, warehouse, commodity, quantity, specification, price, total, depositor, whethe, quality, Inbound_time, creation_time, remark);
    }
}
